<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/share/taglib.jsp" %>
<%  String path = request.getContextPath(); %>
<html><head>
<title>根据选择专业-结果</title>
 <script type="text/javascript" src="<%=path%>/script/jquery-1.3.2.min.js"></script>
<link href="<%=path%>/style/imitation.css" rel="stylesheet" type="text/css" />

<script language="javascript" src="<%=path%>/images/comm_fns.js"></script>

<script language="javascript">
function confirm_del(action)
{
	switch (action)
	{
		case 'allmajor':
			if (confirm('是否删除已经填报的专业？')) 
			{
				/*
				window.location.href='del_zy_major.php?action=allmajor&zyid=10690341&zysort=1&collegeid=10650&collegename=四川外语学院&g_name=本科三批&pgroup=3&prescore=511&g_id=46';
				*/
			}
			break;
		case 'college':
			if (confirm('是否删除当前志愿重新填报？')) 
			{
				//sendRequest();
				//openDialog(10690341, 3, 1, 46, "本科三批");
				window.location.href="<%=path%>/front/wishlist_rechooseyx.action";
			}
	}
}
</script>

</head>
<body leftmargin="0" bgcolor="#FFFFFF" marginwidth="0">



<center>

	<jsp:include page="/head.jsp"/>
  <table bgcolor="#B1DE9B" border="0" cellpadding="0" cellspacing="0" width="950">
    <tbody><tr>
      <td align="center" height="50"><img src="<%=path%>/images/tbzy.gif" height="19" width="69"></td>
    </tr>
  </tbody></table>
  <table bgcolor="#B1DE9B" border="0" cellpadding="0" cellspacing="0" width="950">
    <tbody><tr>
      <td rowspan="3" width="8"></td>
      <td align="center" bgcolor="#FFFFFF" width="934">
      <jsp:include page="user_info2.jsp"/>
      <table style="margin-bottom: 10px; margin-top: 20px;" align="right" border="0" cellpadding="0" cellspacing="0" width="84%">
        <tbody><tr>
          <td align="center" width="78%"><table border="0" cellpadding="0" cellspacing="0">
            <tbody><tr>
              <td align="center" height="26"><font color="#FF6600"><b style="color:#274401;font-size:14px;">重庆 <c:out value='${pcname}'/> <c:out value='${yxzyxhmc}'/></b></font>
              	<br/><c:out value='${relation}'/>
              </td>
            </tr>
            <tr>
              <td align="center" height="26"><b style="color:#ff6600;font-size:14px;"><c:out  value="${sessionScope.yxmc}"  /></b>　<b style="color:#274401;font-size:14px;">专业列表</b></td>
            </tr>
          </tbody></table></td>
          <td align="center" valign="top" width="22%"><img src="<%=path%>/images/mn_zy4_01.gif" style="cursor: pointer;" onclick="confirm_del('college');" height="19" width="110"></td>
        </tr>
      </tbody></table></td>
      <td rowspan="3" width="8"></td>
    </tr>
    <tr>
      <td align="center" bgcolor="#FFFFFF">&nbsp;</td>
    </tr>
    <tr>
      <td align="center" bgcolor="#FFFFFF"><div style="width:710px;height:130px;background-color:#F5F5F5">
        <table bgcolor="#8AC876" border="0" cellpadding="0" cellspacing="1" width="700">
          <tbody><tr align="center" bgcolor="#B1DE9B">
              <td height="30"><b>志愿次序</b></td>
              <td><b>专业名称</b></td>  <td><b>操作</b></td>
          </tr>
		            <tr align="center" bgcolor="#FFFFFF">		  
            <td align="center" bgcolor="#C6E7B9" height="30"><font color="#274402">1</font></td>
            
            <c:set var="zy_exist" value="false" scope="page"/>
			<c:forEach items="${zydhmap}" var="entry">
			<c:if test="${entry.key==1}">
				<c:set var="zydh" value="${entry.value['zydh']}" scope="page"/>
				<c:set var="zymc" value="${entry.value['zymc']}" scope="page"/>
				<c:set var="zy_exist" value="true" scope="page"/>
	            <td style="padding-left: 5px;" align="left" bgcolor="#EBF7E6">
	            <a href="" target="_blank" class="a06"><c:out value="${zymc}" /></a>
				</td>
	            <td>
	            <a href="<%=path%>/front/wishlist_rechoosezy.action?zyzyxh=1"><img src="<%=path%>/images/mn_zy4_03.gif" align="absmiddle" border="0" height="19" width="88"></a>
	            <a href="<%=path%>/front/wishlist_removeZyForResult.action?zyzyxh=1"><img width="46" height="19" border="0" align="absmiddle" src="<%=path%>/images/mn_zy4_02.gif"></a>
				</td>
				
			</c:if>
			</c:forEach>
			<c:if test="${zy_exist == false}">
			<td style="padding-left: 5px;" align="left" bgcolor="#EBF7E6">
				<a href="<%=path%>/front/wishlist_addZyForResult.action?zyzyxh=1"><img src="<%=path%>/images/mn_16.gif" border="0" height="19" width="86"></a>
			</td>
            <td></td>
			</c:if>
			
          </tr>
		            <tr align="center" bgcolor="#FFFFFF">		  
            <td align="center" bgcolor="#C6E7B9" height="30"><font color="#274402">2</font></td>
              <c:set var="zy_exist" value="false" scope="page"/>
			<c:forEach items="${zydhmap}" var="entry">
			<c:if test="${entry.key==2}">
				<c:set var="zydh" value="${entry.value['zydh']}" scope="page"/>
				<c:set var="zymc" value="${entry.value['zymc']}" scope="page"/>
				<c:set var="zy_exist" value="true" scope="page"/>
	            <td style="padding-left: 5px;" align="left" bgcolor="#EBF7E6">
	            <a href="" target="_blank" class="a06"><c:out value="${zymc}" /></a>
				</td>
	            <td>
	            <a href="<%=path%>/front/wishlist_rechoosezy.action?zyzyxh=2"><img src="<%=path%>/images/mn_zy4_03.gif" align="absmiddle" border="0" height="19" width="88"></a>
				<a href="<%=path%>/front/wishlist_removeZyForResult.action?zyzyxh=2"><img width="46" height="19" border="0" align="absmiddle" src="<%=path%>/images/mn_zy4_02.gif"></a>
				</td>
				
			</c:if>
			</c:forEach>
			<c:if test="${zy_exist == false}">
			<td style="padding-left: 5px;" align="left" bgcolor="#EBF7E6">
				<a href="<%=path%>/front/wishlist_addZyForResult.action?zyzyxh=2"><img src="<%=path%>/images/mn_16.gif" border="0" height="19" width="86"></a>
			</td>
            <td></td>
			</c:if>
			
          </tr>
          
             <tr align="center" bgcolor="#FFFFFF">		  
            <td align="center" bgcolor="#C6E7B9" height="30"><font color="#274402">3</font></td>
              <c:set var="zy_exist" value="false" scope="page"/>
			<c:forEach items="${zydhmap}" var="entry">
			<c:if test="${entry.key==3}">
				<c:set var="zydh" value="${entry.value['zydh']}" scope="page"/>
				<c:set var="zymc" value="${entry.value['zymc']}" scope="page"/>
				<c:set var="zy_exist" value="true" scope="page"/>
	            <td style="padding-left: 5px;" align="left" bgcolor="#EBF7E6">
	            <a href="" target="_blank" class="a06"><c:out value="${zymc}" /></a>
				</td>
	            <td>
	            <a href="<%=path%>/front/wishlist_rechoosezy.action?zyzyxh=3"><img src="<%=path%>/images/mn_zy4_03.gif" align="absmiddle" border="0" height="19" width="88"></a>
				<a href="<%=path%>/front/wishlist_removeZyForResult.action?zyzyxh=3"><img width="46" height="19" border="0" align="absmiddle" src="<%=path%>/images/mn_zy4_02.gif"></a>
				</td>
				
			</c:if>
			</c:forEach>
			<c:if test="${zy_exist == false}">
			<td style="padding-left: 5px;" align="left" bgcolor="#EBF7E6">
				<a href="<%=path%>/front/wishlist_addZyForResult.action?zyzyxh=3"><img src="<%=path%>/images/mn_16.gif" border="0" height="19" width="86"></a>
			</td>
            <td></td>
			</c:if>
			
          </tr>
		          </tbody></table>
      </div></td>
    </tr>
    <tr>
      <td></td>
      <td align="center" bgcolor="#FFFFFF"><table style="margin-bottom: 20px; margin-top: 20px;" border="0" cellpadding="0" cellspacing="0" width="87%">
        <tbody><tr>
          <td align="center"><a href="<%=path%>/front/wishlist_addyxzy.action"><img src="<%=path%>/images/mn_gz3.gif" border="0" height="19" width="81"></a>　</td>
          </tr>
      </tbody></table></td>
      <td></td>
    </tr>
  </tbody></table>
  
  <table border="0" cellpadding="0" cellspacing="0" width="950">
    <tbody><tr align="center" bgcolor="#B1DE9B">
      <td height="50" width="950">&nbsp;</td>
    </tr>
  </tbody></table>
 <jsp:include page="/foot.jsp"/>
</center>
</body></html>